package ui;

import java.awt.Dimension;

import javax.swing.JSlider;
import javax.swing.border.TitledBorder;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;

import model.Matrix;

import service.GraphService;

public class Slider extends JSlider
{
	public Slider()
	{
		initSlider();
	}

	private void initSlider()
	{
		setMinimum(3);
		setMaximum(15);
		setBorder(new TitledBorder("Size of the Matrix"));
		setMajorTickSpacing(1);
		setPaintTicks(true);
		setPaintLabels(true);
		setSnapToTicks(true);
		setValue(1);
		
	}
	
	
	
}
